BrowserView

public final class BrowserView extends JComponent

A Swing UI component that displays content of the resources loaded in the Browser instance associated with it.

This component represents a container that contains other UI components. Depending on the rendering mode the com.teamdev.jxbrowser.engine.Engine of the associated Browser instance is configured with, this component may consist of both heavyweight and lightweight components.

Properties

Link copied to clipboard
public final static int ABORT
Link copied to clipboard
Link copied to clipboard
public float alignmentX
Link copied to clipboard
public float alignmentY
Link copied to clipboard
public final static int ALLBITS
Link copied to clipboard
public boolean autoscrolls
Link copied to clipboard
Link copied to clipboard
public Border border
Link copied to clipboard
public final static float BOTTOM_ALIGNMENT
Link copied to clipboard
public final static float CENTER_ALIGNMENT
Link copied to clipboard
Link copied to clipboard
public Cursor cursor
Link copied to clipboard
Link copied to clipboard
public final static int ERROR
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public volatile Font font
Link copied to clipboard
Link copied to clipboard
public final static int FRAMEBITS
Link copied to clipboard
public final static int HEIGHT
Link copied to clipboard
public int height
Link copied to clipboard
public boolean ignoreRepaint
Link copied to clipboard
Link copied to clipboard
public final static float LEFT_ALIGNMENT
Link copied to clipboard
public Locale locale
Link copied to clipboard
public String name
Link copied to clipboard
public transient Container parent
Link copied to clipboard
public final static int PROPERTIES
Link copied to clipboard
public final static float RIGHT_ALIGNMENT
Link copied to clipboard
public final static int SOMEBITS
Link copied to clipboard
public final static String TOOL_TIP_TEXT_KEY
Link copied to clipboard
public final static float TOP_ALIGNMENT
Link copied to clipboard
public final static String uiClassID
Link copied to clipboard
public final static int UNDEFINED_CONDITION
Link copied to clipboard
Link copied to clipboard
public final static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT
Link copied to clipboard
public final static int WHEN_FOCUSED
Link copied to clipboard
public final static int WHEN_IN_FOCUSED_WINDOW
Link copied to clipboard
public final static int WIDTH
Link copied to clipboard
public int width
Link copied to clipboard
public int x
Link copied to clipboard
public int y

Functions

Link copied to clipboard
public boolean action(Event evt, Object what)
Link copied to clipboard
public Component add(Component comp)
public void add(Component comp, Object constraints)
Link copied to clipboard
public void addAncestorListener(AncestorListener listener)
Link copied to clipboard
public synchronized void addComponentListener(ComponentListener l)
Link copied to clipboard
public synchronized void addContainerListener(ContainerListener l)
Link copied to clipboard
public synchronized void addFocusListener(FocusListener l)
Link copied to clipboard
Link copied to clipboard
public synchronized void addInputMethodListener(InputMethodListener l)
Link copied to clipboard
public synchronized void addKeyListener(KeyListener l)
Link copied to clipboard
public synchronized void addMouseListener(MouseListener l)
Link copied to clipboard
public synchronized void addMouseMotionListener(MouseMotionListener l)
Link copied to clipboard
public synchronized void addMouseWheelListener(MouseWheelListener l)
Link copied to clipboard
public void addNotify()
Link copied to clipboard
Link copied to clipboard
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)
Link copied to clipboard
public boolean areFocusTraversalKeysSet(int id)
Link copied to clipboard
public Rectangle bounds()
Link copied to clipboard
public int checkImage(Image image, ImageObserver observer)
Link copied to clipboard
public boolean contains(int x, int y)
Link copied to clipboard
public int countComponents()
Link copied to clipboard
public Image createImage(ImageProducer producer)
Link copied to clipboard
Link copied to clipboard
public VolatileImage createVolatileImage(int width, int height)
Link copied to clipboard
public void deliverEvent(Event e)
Link copied to clipboard
public void disable()
Link copied to clipboard
public final void dispatchEvent(AWTEvent e)
Link copied to clipboard
public void doLayout()
Link copied to clipboard
Returns DragAndDrop that allows managing the drag and drop functionality for this BrowserView.
Link copied to clipboard
public void enable()
Link copied to clipboard
public void enableInputMethods(boolean enable)
Link copied to clipboard
public Component findComponentAt(int x, int y)
Link copied to clipboard
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final ActionMap getActionMap()
Link copied to clipboard
public float getAlignmentX()
Link copied to clipboard
public float getAlignmentY()
Link copied to clipboard
Link copied to clipboard
public boolean getAutoscrolls()
Link copied to clipboard
Link copied to clipboard
public int getBaseline(int width, int height)
Link copied to clipboard
public Border getBorder()
Link copied to clipboard
Link copied to clipboard
Returns the Browser instance associated with the current view.
Link copied to clipboard
public final Object getClientProperty(Object key)
Link copied to clipboard
Link copied to clipboard
public Component getComponent(int n)
Link copied to clipboard
public Component getComponentAt(int x, int y)
Link copied to clipboard
public int getComponentCount()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public int getComponentZOrder(Component comp)
Link copied to clipboard
public int getConditionForKeyStroke(KeyStroke aKeyStroke)
Link copied to clipboard
Link copied to clipboard
public Cursor getCursor()
Link copied to clipboard
Link copied to clipboard
public static Locale getDefaultLocale()
Link copied to clipboard
public synchronized DropTarget getDropTarget()
Link copied to clipboard
public synchronized Array<FocusListener> getFocusListeners()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Font getFont()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public int getHeight()
Link copied to clipboard
Link copied to clipboard
public boolean getIgnoreRepaint()
Link copied to clipboard
public boolean getInheritsPopupMenu()
Link copied to clipboard
Link copied to clipboard
public final InputMap getInputMap(int condition)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Insets getInsets()
Link copied to clipboard
public synchronized Array<KeyListener> getKeyListeners()
Link copied to clipboard
Link copied to clipboard
public Array<T> getListeners<T extends EventListener>(Class<T> listenerType)
Link copied to clipboard
public Locale getLocale()
Link copied to clipboard
public Point getLocation(Point rv)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public synchronized Array<MouseListener> getMouseListeners()
Link copied to clipboard
Link copied to clipboard
public Point getMousePosition(boolean allowChildren)
Link copied to clipboard
Link copied to clipboard
public String getName()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Object getTreeLock()
Link copied to clipboard
public ComponentUI getUI()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public int getWidth()
Link copied to clipboard
public int getX()
Link copied to clipboard
public int getY()
Link copied to clipboard
public boolean gotFocus(Event evt, Object what)
Link copied to clipboard
public void grabFocus()
Link copied to clipboard
public boolean handleEvent(Event evt)
Link copied to clipboard
public boolean hasFocus()
Link copied to clipboard
public void hide()
Link copied to clipboard
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)
Link copied to clipboard
public Insets insets()
Link copied to clipboard
public boolean inside(int x, int y)
Link copied to clipboard
public void invalidate()
Link copied to clipboard
public boolean isAncestorOf(Component c)
Link copied to clipboard
public boolean isBackgroundSet()
Link copied to clipboard
public boolean isCursorSet()
Link copied to clipboard
public boolean isDisplayable()
Link copied to clipboard
public boolean isDoubleBuffered()
Link copied to clipboard
public boolean isEnabled()
Link copied to clipboard
public boolean isFocusable()
Link copied to clipboard
public boolean isFocusCycleRoot(Container container)
Link copied to clipboard
public boolean isFocusOwner()
Link copied to clipboard
public boolean isFocusTraversable()
Link copied to clipboard
public final boolean isFocusTraversalPolicyProvider()
Link copied to clipboard
public boolean isFocusTraversalPolicySet()
Link copied to clipboard
public boolean isFontSet()
Link copied to clipboard
public boolean isForegroundSet()
Link copied to clipboard
public boolean isLightweight()
Link copied to clipboard
public static boolean isLightweightComponent(Component c)
Link copied to clipboard
public boolean isManagingFocus()
Link copied to clipboard
public boolean isMaximumSizeSet()
Link copied to clipboard
public boolean isMinimumSizeSet()
Link copied to clipboard
public boolean isOpaque()
Link copied to clipboard
public boolean isOptimizedDrawingEnabled()
Link copied to clipboard
public final boolean isPaintingForPrint()
Link copied to clipboard
public boolean isPaintingTile()
Link copied to clipboard
public boolean isPreferredSizeSet()
Link copied to clipboard
public boolean isRequestFocusEnabled()
Link copied to clipboard
public boolean isShowing()
Link copied to clipboard
public boolean isValid()
Link copied to clipboard
public boolean isValidateRoot()
Link copied to clipboard
public boolean isVisible()
Link copied to clipboard
public boolean keyDown(Event evt, int key)
Link copied to clipboard
public boolean keyUp(Event evt, int key)
Link copied to clipboard
public void layout()
Link copied to clipboard
public void list(PrintStream out, int indent)
Link copied to clipboard
public Component locate(int x, int y)
Link copied to clipboard
public Point location()
Link copied to clipboard
public boolean lostFocus(Event evt, Object what)
Link copied to clipboard
Link copied to clipboard
public boolean mouseDown(Event evt, int x, int y)
Link copied to clipboard
public boolean mouseDrag(Event evt, int x, int y)
Link copied to clipboard
public boolean mouseEnter(Event evt, int x, int y)
Link copied to clipboard
public boolean mouseExit(Event evt, int x, int y)
Link copied to clipboard
public boolean mouseMove(Event evt, int x, int y)
Link copied to clipboard
public boolean mouseUp(Event evt, int x, int y)
Link copied to clipboard
public void move(int x, int y)
Link copied to clipboard
public static BrowserView newInstance(Browser browser)
Creates a new BrowserView instance that displays the given browser instance.
Link copied to clipboard
public void nextFocus()
Link copied to clipboard
public void paint(Graphics g)
Link copied to clipboard
public void paintAll(Graphics g)
Link copied to clipboard
public void paintComponents(Graphics g)
Link copied to clipboard
public void paintImmediately(int x, int y, int w, int h)
Link copied to clipboard
public boolean postEvent(Event e)
Link copied to clipboard
Link copied to clipboard
public boolean prepareImage(Image image, ImageObserver observer)
Link copied to clipboard
public void print(Graphics g)
Link copied to clipboard
public void printAll(Graphics g)
Link copied to clipboard
public void printComponents(Graphics g)
Link copied to clipboard
public final void putClientProperty(Object key, Object value)
Link copied to clipboard
public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)
Link copied to clipboard
public void remove(int index)
Link copied to clipboard
public void removeAll()
Link copied to clipboard
Link copied to clipboard
public synchronized void removeComponentListener(ComponentListener l)
Link copied to clipboard
public synchronized void removeContainerListener(ContainerListener l)
Link copied to clipboard
public synchronized void removeFocusListener(FocusListener l)
Link copied to clipboard
Link copied to clipboard
public synchronized void removeInputMethodListener(InputMethodListener l)
Link copied to clipboard
public synchronized void removeKeyListener(KeyListener l)
Link copied to clipboard
public synchronized void removeMouseListener(MouseListener l)
Link copied to clipboard
public synchronized void removeMouseMotionListener(MouseMotionListener l)
Link copied to clipboard
public synchronized void removeMouseWheelListener(MouseWheelListener l)
Link copied to clipboard
public void removeNotify()
Link copied to clipboard
Link copied to clipboard
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)
Link copied to clipboard
public void repaint(long tm, int x, int y, int width, int height)
Link copied to clipboard
public boolean requestDefaultFocus()
Link copied to clipboard
public void requestFocus()
public boolean requestFocus(boolean temporary)
Link copied to clipboard
public boolean requestFocusInWindow()
Link copied to clipboard
public void resetKeyboardActions()
Link copied to clipboard
public void reshape(int x, int y, int w, int h)
Link copied to clipboard
public void resize(int width, int height)
Link copied to clipboard
public void revalidate()
Link copied to clipboard
public void scrollRectToVisible(Rectangle aRect)
Link copied to clipboard
public final void setActionMap(ActionMap am)
Link copied to clipboard
public void setAlignmentX(float alignmentX)
Link copied to clipboard
public void setAlignmentY(float alignmentY)
Link copied to clipboard
public void setAutoscrolls(boolean autoscrolls)
Link copied to clipboard
public void setBackground(Color bg)
Link copied to clipboard
public void setBorder(Border border)
Link copied to clipboard
public void setBounds(int x, int y, int width, int height)
Link copied to clipboard
Link copied to clipboard
public void setComponentPopupMenu(JPopupMenu popup)
Link copied to clipboard
public void setComponentZOrder(Component comp, int index)
Link copied to clipboard
public void setCursor(Cursor cursor)
Link copied to clipboard
public void setDebugGraphicsOptions(int debugOptions)
Link copied to clipboard
public static void setDefaultLocale(Locale l)
Link copied to clipboard
public void setDoubleBuffered(boolean aFlag)
Link copied to clipboard
public synchronized void setDropTarget(DropTarget dt)
Link copied to clipboard
public void setEnabled(boolean enabled)
Link copied to clipboard
public void setFocusable(boolean focusable)
Link copied to clipboard
public void setFocusCycleRoot(boolean focusCycleRoot)
Link copied to clipboard
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)
Link copied to clipboard
public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)
Link copied to clipboard
Link copied to clipboard
public final void setFocusTraversalPolicyProvider(boolean provider)
Link copied to clipboard
public void setFont(Font font)
Link copied to clipboard
public void setForeground(Color fg)
Link copied to clipboard
public void setIgnoreRepaint(boolean ignoreRepaint)
Link copied to clipboard
public void setInheritsPopupMenu(boolean value)
Link copied to clipboard
public final void setInputMap(int condition, InputMap map)
Link copied to clipboard
public void setInputVerifier(InputVerifier inputVerifier)
Link copied to clipboard
public void setLayout(LayoutManager mgr)
Link copied to clipboard
public void setLocale(Locale l)
Link copied to clipboard
public void setLocation(int x, int y)
Link copied to clipboard
public void setMaximumSize(Dimension maximumSize)
Link copied to clipboard
public void setMinimumSize(Dimension minimumSize)
Link copied to clipboard
public void setMixingCutoutShape(Shape shape)
Link copied to clipboard
public void setName(String name)
Link copied to clipboard
public void setNextFocusableComponent(Component aComponent)
Link copied to clipboard
public void setOpaque(boolean isOpaque)
Link copied to clipboard
public void setPreferredSize(Dimension preferredSize)
Link copied to clipboard
public void setRequestFocusEnabled(boolean requestFocusEnabled)
Link copied to clipboard
public void setSize(int width, int height)
Link copied to clipboard
public void setToolTipText(String text)
Link copied to clipboard
public void setTransferHandler(TransferHandler newHandler)
Link copied to clipboard
public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)
Link copied to clipboard
public void setVisible(boolean visible)
Link copied to clipboard
public void show()
Link copied to clipboard
public Dimension size()
Link copied to clipboard
public String toString()
Link copied to clipboard
public void transferFocus()
Link copied to clipboard
public void transferFocusBackward()
Link copied to clipboard
public void transferFocusDownCycle()
Link copied to clipboard
public void transferFocusUpCycle()
Link copied to clipboard
public void unregisterKeyboardAction(KeyStroke aKeyStroke)
Link copied to clipboard
public void update(Graphics g)
Link copied to clipboard
public void updateUI()
Link copied to clipboard
public void validate()